cost (someone) dearly

Translations
обойтись (кому-то) дорого
His mistakes in the project cost him dearly.
Его ошибки в проекте обошлись ему дорого.
Definitions
To cause someone to suffer significant loss, harm, or negative consequences, often involving a high price, sacrifice, or penalty.